from django.contrib import admin

# Register your models here.

from question.models import Answer


class AnswerAdmin(admin.ModelAdmin):
    # ...
    list_display = ['date', 'user']
    list_filter = ['date']
    search_fields = ['user']


admin.site.register(Answer, AnswerAdmin)
